
from django.db import models

# Create your models here.
class User(models.Model):
    username = models.CharField(max_length=100)
    password = models.CharField(max_length=300)
    class Meta:
        db_table='user'

class News(models.Model):
    title = models.CharField(max_length=100)
    content = models.CharField(max_length=1000)